Made the getServiceProviderClass function clear