Add do-undo method