Supports newer versions of symfony.