             return try! Pogoprotos.Networking.Responses.SfidaActionLogResponse.parseFromData(data)
         }))
     }
-    
-    public func checkChallengeMessage(debug: Bool? = nil) {
-        let messageBuilder = Pogoprotos.Networking.Requests.Messages.CheckChallengeMessage.Builder()
-        if debug != nil {
-            messageBuilder.debugRequest = debug!
-        }
-        methodList.append(PGoApiMethod(id: .CheckChallenge, message: try! messageBuilder.build(), parser: { data in
-            return try! Pogoprotos.Networking.Responses.CheckChallengeResponse.parseFromData(data)
-        }))
-    }
-    
-    public func verifyChallengeMessage(token: String) {
-        let messageBuilder = Pogoprotos.Networking.Requests.Messages.VerifyChallengeMessage.Builder()
-        messageBuilder.token = token
-        methodList.append(PGoApiMethod(id: .VerifyChallenge, message: try! messageBuilder.build(), parser: { data in
-            return try! Pogoprotos.Networking.Responses.VerifyChallengeResponse.parseFromData(data)
-        }))
-    }
-}+}

    
    public func downloadSettings() {
        let messageBuilder = Pogoprotos.Networking.Requests.Messages.DownloadSettingsMessage.Builder()
        if (Settings.downloadSettingsHash != nil) {
            messageBuilder.hash = Settings.downloadSettingsHash!
        }
        methodList.append(PGoApiMethod(id: .DownloadSettings, message: try! messageBuilder.build(), parser: { data in
            return try! Pogoprotos.Networking.Responses.DownloadSettingsResponse.parseFromData(data)
        }))



public struct PGoApiMethod {
    let id: Pogoprotos.Networking.Requests.RequestType
    let message: GeneratedMessage
    let parser: NSData -> GeneratedMessage
}

public struct PGoApiResponse {
