Use correct enumeration type