The same would apply here.
For Backwards-Compatibility ```$provider```should be optional and if not provided use the option from the config-file