Add T as a template