Stop using an Enum's .ordinal().