Fixing bugs in opcode enum and l2d.