Add enum values to generated code