Switching to class based views.