Added simple generator structure for class generation.