I'd certainly wire as much out of the cavity as possible on a template. Far easier.