Add template var for model generation