Undo modifications.