Changing properties now supports undo and redo.