Renamed resolve to getProvider