Added undo and redo messages.