Removed useless stuff about requests in twig extension