Let BaseView pass model to templates and call template function