Implemented DbProvider.