      - Returns: the flag for enabling retry policy.
      */
     public func getIsRetryEnabled() -> Bool {
-        return self.isRetryEnabled
+        guard let retryHandler = self.sessionManager.retrier as? RetryHandler else {
+            fatalError("Session manager retrier must be an instance of RetryHandler")
+        }
+        return retryHandler.getIsRetryEnabled()
     }
     
     /**

     - Parameter maxRetryAttempts: Maximum number of retry attempts.
    */
    public func setRetryAttribute(isRetryEnabled enabled: Bool, maxRetryAttempts attempts: Int) {
        self.isRetryEnabled = enabled
        self.maxRetryAttempts = attempts
        if (attempts < 0) {
            self.maxRetryAttempts = 0
        }
    }

    /**

                    print("[Kentico Cloud] Getting content types action has failed. Check requested URL: \(url)")
                }

                completionHandler(false, nil, error)
            }
        }
    }
    
    private func sendGetContentTypeRequest(url: String, attemptedNumber: Int = 1, completionHandler: @escaping (Bool, ContentType?, Error?) -> ()) {
        sessionManager.request(url, headers: self.headers).responseObject() { (response: DataResponse<ContentType>) in
            
            switch response.result {
            case .success:
