support static string methods in twig filter #401