         setupComponents(https, hostString: hostString)
         
         let typeQueryItem = NSURLQueryItem(name: "type", value: gameType.rawValue)
-        queryItems.append(typeQueryItem)
-        addApiKeyQueryItemAndSetComponents()
-        
-        URL = components.URLString.stringByReplacingPercentEscapesUsingEncoding(NSUTF8StringEncoding)!
+        createURL(hostString)
         
     }
     

            var masteryQueryItem = NSURLQueryItem(name: "masteryListData", value: masteryOptions)
            queryItems.append(masteryQueryItem)
        }
        
        addApiKeyQueryItemAndSetComponents()
        
        URL = components.URLString.stringByReplacingPercentEscapesUsingEncoding(NSUTF8StringEncoding)!
        
    }
    
    public func getMastery(id: Int, masteryDataOptions: [MasteryData]?) {
        var hostString = String("\(RegionBaseURL.global.rawValue)/api/lol/static-data/\(regionRawValue)/v\(LoLStaticDataVersion)/mastery/\(id)")
        
        setupComponents(https, hostString: hostString)
        
        if let masteryData = masteryDataOptions {
            var masteryOptions = ""

        hostString.removeAtIndex(hostString.endIndex.predecessor())
        hostString += "/entry"
        
        createURL(hostString)
    }
    
    public func getTeamLeagueInfo(teamIDs: [String]) {
