Added infrastructure for undo/redo functionality in tell plugin.