Add template models to a template tree.