More functions to handle opcode enums