Full implementation of new dt api in twig