Added generator method and first verification for generated classes