Implemented sub-generator for a module.