Fix some Twig function.