Implemented Service and ContentProvider.