Undo/Redo support.