Undo/redo approximately functional.