         return self
     }
     
+    public func onlyValidItems() -> Self {
+        self.validItems = true
+        return self
+    }
+    
     public func get() -> Promise<GeocorePlace> {
         return self.get("/places")
     }

            dict["min_lon"] = minlon
            dict["max_lon"] = maxlon
            if let checkinable = self.checkinable { if checkinable { dict["checkinable"] = "true" } }
            return Geocore.sharedInstance.promisedGET("/places/search/within/rect", parameters: dict)
        } else {
            return Promise { fulfill, reject in reject(GeocoreError.InvalidParameter(message: "Expecting center lat-lon")) }
        }
    }
    
    public func events() -> Promise<[GeocoreEvent]> {

        }
    }
    
    private func circleQuery(withPath: String) -> Promise<[GeocorePlace]> {
        if let centerLatitude = self.centerLatitude, centerLongitude = self.centerLongitude, radius = self.radius {
            var dict = super.buildQueryParameters()
            dict["lat"] = centerLatitude
            dict["lon"] = centerLongitude
            dict["radius"] = radius
            if let checkinable = self.checkinable { if checkinable { dict["checkinable"] = "true" } }
            return Geocore.sharedInstance.promisedGET(withPath, parameters: dict)
        } else {
            return Promise { fulfill, reject in reject(GeocoreError.InvalidParameter(message: "Expecting center lat-lon, radius")) }
        }
    }
    
    public func withinCircle() -> Promise<[GeocorePlace]> {
        return self.circleQuery("/places/search/within/circle")
    }
    
    public func intersectsCircle() -> Promise<[GeocorePlace]> {
        return self.circleQuery("/places/search/intersects/circle")
    }
    
    private func rectangleQuery(withPath: String) -> Promise<[GeocorePlace]> {
        if let minlat = self.minimumLatitude, maxlat = self.maximumLatitude, minlon = self.self.minimumLongitude, maxlon = self.maximumLongitude  {
            var dict = super.buildQueryParameters()
            dict["min_lat"] = minlat
