Make generator work with `yo` v1.0.5

Ref #12.
Fix #11.