Add base class for service provider injection factory