Removed implicit conversion for enumeration types