Adds basic template code for class generation