             }
         }
     }
-
+    
     public func save(callback: (ApiForm) -> Void) {
         var parameters = model.JSONDictionary()
 

            self.model.updateFromDictionaryWithMapping(formParameters as! [String:AnyObject], mapping: ModelType.fromJSONMapping())
        }
    }

    public class func fromApi(apiResponse: JSON) -> ModelType {
        let newModel = ModelType(completelyBogusInitializerDoesNothing: true)
        newModel.updateFromDictionaryWithMapping(apiResponse.dictionaryObject!, mapping: ModelType.fromJSONMapping())
        return newModel
    }



    public class func findArray(call: ApiCall, callback: ([ModelType]) -> Void) {
        call.provideDefaults(ModelType)

        perform(
            .GET,
            path: call.resource!,
            parameters: [:],
            namespace: call.namespace!
        ) { dictionaryResponse, arrayResponse, errors in
            if let arrayData = arrayResponse {
                var ret: [ModelType] = []
                
                for modelData in arrayData {
                    let model = self.fromApi(modelData.dictionaryObject!)
                    ret.append(model)
                }
                
                callback(ret)
            } else {
                callback([])
            }
        }

    }

    public class func post(parameters: [String:AnyObject], callback: (ModelType?) -> Void) {
        perform(
            .POST,
            path: ModelType.apiResource().create,
            parameters: parameters,
            namespace: ModelType.apiNamespace()
        ) { dictionaryResponse, arrayResponse, errors in
            if let modelData = dictionaryResponse {
                let model = self.fromApi(modelData)
                callback(model)
            } else {
