Enum → IntEnum
Added get to mode property