Replacing CouchDB.Instance methods with Sohva implementations.