Added enum emulator