Create the enums and entities.