Reduce number of templates used