Add compiler pass for add require tag directly in twig extension