Added undo/redo support for params