temporary workaround to avoid collection of enums in FieldDescriptor, before enums are fully supported.