Added class based view.