Move provider check out of web service calls.