Added undo and publish.