Rework support code for torch.hub.load() to allow reusing shared functions and eventually expose more models.