Added setter for the view instance