Renaming invoke -> generate

This may be causing issues with Hydra::Editor
Merge pull request #288 from projecthydra/6-7-stable-patch

Renaming invoke -> generate