Improved CouchManager and API CouchManager.