added methods for generate section to the class code generator