Generalized the handling of provider parameters