Added default values to generated header file.
Refactored basic class methods into their own generator methods.