remove need for the parameterized field to extend Enum.