Add set/get methods to the View class