Pass in domain and network of provider during construction.