Uses the new DoctrineRegisterMappingsPass
BC fix related to using Doctrine's RegisterMappingsPass