Allow doctrine/orm 2.5