 	}
 	
 	/**
+	Adds a filter where the given property should be smaller then the given value.
+	
+	:param: property    The property to filter on.
+	:param: smallerThen The value to check for.
+	
+	:returns: The query
+	*/
+	public func whereProperty(property: String, smallerThen: String) -> Self {
+		self.filters.append(QueryFilter(property: property, value: smallerThen, comparator: "<"))
+		return self
+	}
+	
+	/**
+	Adds a filter where the given property should be greater then the given value.
+	
+	:param: property    The property to filter on.
+	:param: greaterThen The value to check for.
+	
+	:returns: The query
+	*/
+	public func whereProperty(property: String, greaterThen: String) -> Self {
+		self.filters.append(QueryFilter(property: property, value: greaterThen, comparator: ">"))
+		return self
+	}
+	
+	/**
 	Adds a filter where the given relationship should point to the given resource, or the given
 	resource should be present in the related resources.
 	

	:returns: The query
	*/
	public func whereRelationship(relationship: String, isOrContains resource: Resource) -> Self {
		if let resourceID = resource.resourceID {
			self.filters.append(QueryFilter(property: relationship, value: resourceID, comparator: "="))
		} else {
			println("Warning: Attempt to add a where filter on a relationship, but the target resource does not contain a resource ID.")
		}
		return self
	}
	
	/**
	Adds a filter where the given property should be smaller then the given value.
	
	:param: property    The property to filter on.
	:param: smallerThen The value to check for.
	
	:returns: The query
	*/
	public func whereProperty(property: String, smallerThen: String) -> Self {
		self.filters.append(QueryFilter(property: property, value: smallerThen, comparator: "<"))
		return self
	}
	
	/**
	Adds a filter where the given property should be greater then the given value.
	
	:param: property    The property to filter on.
	:param: greaterThen The value to check for.
	
	:returns: The query
	*/
	public func whereProperty(property: String, greaterThen: String) -> Self {
		self.filters.append(QueryFilter(property: property, value: greaterThen, comparator: ">"))
		return self
	}
	
	public func restrictProperties(properties: [String]) -> Self {
		self.restrictProperties(properties, ofResourceType: self.resourceType)

	private var includes: [String] = []
	private var filters: [QueryFilter] = []
	private var fields: [String: [String]] = [:]
	
	
	//MARK: Init
	
	/**
	Inits a new query for the given resource type.
