Attempted modification to Enum.values to trick it into requiring only one type parameter.