CouchDbRepositoryBase FIXME