Complete implementation of the ContentProvider.