added methods to CouchDbPersistor.groovy