Using refuge_spatial couchdb1.3.x.