Enums can now be stored in three formats - native enum object, integer or string.