Implemented enum schemas and generated code.