 	
 	// MARK: Filtering
 	
-	private mutating func addPredicateWithField(fieldName: String, value: String, type: NSPredicateOperatorType) {
+	private mutating func addPredicateWithField(fieldName: String, value: AnyObject, type: NSPredicateOperatorType) {
 		if let field = T.fields.filter({ $0.name == fieldName }).first {
 			let predicate = NSComparisonPredicate(
 				leftExpression: NSExpression(forKeyPath: field.serializedName),

	
	:returns: The query
	*/
	public mutating func whereAttribute(attributeName: String, equalTo: String) -> Query {
		addPredicateWithField(attributeName, value: equalTo, type: .EqualToPredicateOperatorType)
		return self
	}

	
	:returns: The query
	*/
	public mutating func whereAttribute(attributeName: String, lessThanOrEqualTo: AnyObject) -> Query {
		addPredicateWithField(attributeName, value: lessThanOrEqualTo, type: .LessThanOrEqualToPredicateOperatorType)
		return self
	}
