Remove excess code from views.