Code for CouchDB and Cloudant business.