Added extra overload for scoped enum emulation.