Undo some unnecessary changes.