 
     fileprivate static let sharedInstance = AvatarPod()
 
-    fileprivate let cache = NSCache()
+    fileprivate let cache = NSCache<NSString, UIImage>()
 
     fileprivate lazy var session = URLSession(configuration: URLSessionConfiguration.default)
 

            request.completion(true, styledImage, cacheType)
        }

        cache.setObject(styledImage, forKey: request.key)
    }

    fileprivate func completeRequestsWithURL(_ URL: Foundation.URL, image: UIImage, cacheType: CacheType) {

    fileprivate var requestPool = RequestPool()

    fileprivate let requestQueue = DispatchQueue(label: "com.nixWork.Navi.requestQueue", attributes: [])
    fileprivate let cacheQueue = DispatchQueue.global(qos: .background)

    fileprivate func completeRequest(_ request: Request, withStyledImage styledImage: UIImage, cacheType: CacheType) {

