Allow doctrine versions 2.*