Added undoAll() and redoAll() methods