Rewrite for yeoman-generator 0.17.x

Oh... my bad, you're correct it doesn't exist. The way you do it is fine then.