making unify use templates