Remove useless twig function method
Refactor format category methods