Forward-compat with newer Symfony.