Moves class stuff into sub-generator