Bring back renderTemplate into model.