Removed unnecessary enumeration.