Uses the new DoctrineRegisterMappingsPass