Made serializable
EnumSet implementation