     }
 
     func sirenBundlePath() -> String {
-        return Bundle(for: Siren.self).pathForResource("Siren", ofType: "bundle") as String!
+        return Bundle(for: Siren.self).path(forResource: "Siren", ofType: "bundle") as String!
     }
 
     func sirenForcedBundlePath(forceLanguageLocalization: SirenLanguageType) -> String {
         let path = sirenBundlePath()
         let name = forceLanguageLocalization.rawValue
-        return Bundle(path: path)!.pathForResource(name, ofType: "lproj")!
+        return Bundle(path: path)!.path(forResource: name, ofType: "lproj")!
     }
 
     func localizedString(stringKey: String, forceLanguageLocalization: SirenLanguageType?) -> String {

/**
 Siren-specific Error Throwable Errors
 */
private enum SirenErrorType: ErrorProtocol {
    case malformedURL
    case missingBundleIdOrAppId
}


        components.queryItems = items

        guard let url = components.url, !url.absoluteString.isEmpty else {
            throw SirenError.malformedURL
        }

        return url
