Renaming invoke -> generate

This may be causing issues with Hydra::Editor