Rewrite for yeoman-generator 0.17.x

I agree.