Fix versioning of Doctrine proxies