Explore code generation of enums in play