Cleaning up view.