     }
 
     // Parses data for events
-    class func parseData(data:String) -> AnyObject? {
+    static func parseData(data:String) -> AnyObject? {
         var err:NSError?
         let stringData = data.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
         let parsed:AnyObject? = NSJSONSerialization.JSONObjectWithData(stringData!,

    }

    // Translation of socket.io-client#decodeString
    class func parseString(str:String) -> SocketPacket? {
        let arr = Array(str)
        let type = String(arr[0])


        return parsed
    }

    static func parseForEmit(packet:SocketPacket) {
        shredder.deconstructPacket(packet)
    }

    // Parses messages recieved
    static func parseSocketMessage(stringMessage:String, socket:SocketIOClient) {
        if stringMessage == "" {
            return
        }
