Add get/set methods to the View class