Properly inject Engine and return Template.

Failed to RTFM properly on the first pass.