Added a class based view.