Finished porting to Couchbase