Added a chapter sub-generator.