Added plumbing for undo/redo functionality