Avoid text_rendering addon to know about the different templates.

This way creating a template is isolated in the Template class.