How do I mixin a module to a generator template?

I have written a rails generator and can mix my own module into
Rails::Generators::Base easily to get inside the generator, but I can't
figure out how to mix my module in to expose methods to the actual
templates that I am rendering through manifest.

Any ideas?

Thanks,
James