Removing some not needed stuff in views.