Added support for "undo" and "redo" in Parser and OPCODE