Clean up the view.