Where to mask to paint the engine bay?

Where do you guys like to mask when you paint an engine bay to make it look as seamless as possible when you wind up doing the body at a later date?