         }
     }
 
-    private func imageDataLoadingTask(didReceiveData chunk: Data, response: URLResponse) {
+    private func dataTask(didReceiveData chunk: Data, response: URLResponse) {
         // Check if this is the first response.
         if urlResponse == nil {
             // See if the server confirmed that the resumable data can be used
             if let resumableData = resumableData, ResumableData.isResumedResponse(response) {
                 data = resumableData.data
                 resumedDataCount = Int64(resumableData.data.count)
-                signpost(self.log, self, "LoadImageData", .event, "Resumed with data \(Formatter.bytes(resumedDataCount))")
+                signpost(log, self, "LoadImageData", .event, "Resumed with data \(Formatter.bytes(resumedDataCount))")
             }
             resumableData = nil // Get rid of resumable data
         }


    private func getCachedData(dataCache: DataCaching) {
        let key = request.makeCacheKeyForOriginalImageData()
        let data = signpost(self.log, "ReadCachedImageData") {
            dataCache.cachedData(for: key)
        }
        async {

            self.resumableData = resumableData
        }

        signpost(log, self, "LoadImageData", .begin, "URL: \(urlRequest.url?.absoluteString ?? ""), resumable data: \(Formatter.bytes(resumableData?.data.count ?? 0))")

        let dataTask = configuration.dataLoader.loadData(
            with: urlRequest,
            didReceiveData: { [weak self] data, response in
                guard let self = self else { return }
                self.async {
                    self.dataTask(didReceiveData: data, response: response)
                }
            },
            completion: { [weak self] error in
