and you could event typehint ConnectionRegistry (parent of ManagerRegistry) as you don't care about the manager part