Changes for CouchDB 1.2.1