Implemented the getType method in ContentProvider.