Make widget model-view templated