In this case what would you suggest? (because the `Twig_Function_Method` has been deprecated). Should I still rely to `Twig_Function_Method`? What about the others change?