Added restriction for getAllProviders and getBestProvider