I tried to make it all happen in the same method as AutoRegisterImplementations, but it caused issues with BasicRepo.