Fix up undefined opcodes