Extender function type that modifies an existing service.
The type of service being extended
The type of the container being injected
Extender function type that modifies an existing service.