Constructed the class of the view.