pouchdb interface optimizations, should make client more efficient