Should we add a check that the returned class is an instance of `\Symfony\Component\HttpFoundation\Request` ?