Add new generic class TwigTemplate.