Separated templates and model.