Add modelView fn to Model class