Modify EnumHelper class.