         )
         
         // execute REST request
-        request.responseObject(dataToError: dataToError) {
+        request.responseObject(responseToError: responseToError) {
             (response: RestResponse<ClassifiedImages>) in
             switch response.result {
             case .success(let classifiedImages): success(classifiedImages)

        )
        
        // execute REST request
        request.responseArray(dataToError: dataToError, path: ["classifiers"]) {
            (response: RestResponse<[Classifier]>) in
            switch response.result {
            case .success(let classifiers): success(classifiers)

        )
        
        // execute REST request
        request.responseObject(responseToError: responseToError) {
            (response: RestResponse<Classifier>) in
            switch response.result {
            case .success(let classifier): success(classifier)
