Allow namespace to be passed into service provider