Fix enumeration usage