This function was meant as a legacy function just for old Bango code. I'm not sure that we need it for multiple provider scenarios since we can access ``ALL_PROVIDER_BY_ID`` directly, no?