Sync to CouchDB 1.5.1