Common service provider interfaces and useful base implementations.