Added supporting of CouchDB.