enums and structs are now generated automatically. This eliminates some inconsistencies and makes development easier.