Allow doctrine orm 2.3