Allow usage in other versions of Symfony, >=2.3