Added ability to generate classes with a default constructor.