       }
     }
 
-    //if let requestType = params["requestType"] as? String, requestType != "New Books" {
-    pageLoader.load = {
+    if let requestType = params["requestType"] as? String, requestType != "New Books" {
+    func load() throws -> [Any] {
       var newParams = Parameters()
       
       for (key, value) in self.params {


  var HeaderViewIdentifier: String { return "MediaItemsHeader" }

  public let pageLoader = PageLoader()
  
  public var bookmarksManager: BookmarksManager?
  public var historyManager: HistoryManager?

      }
    }

    pageLoader.loadData(onLoad: load) { result in
      if let items = result as? [Item] {
        self.items.items = items

