Change function names to match changes in couchdb-couch