 
         if #available(iOS 10.0, *) {
             let correctOffset = presentingViewController!.topLayoutGuide.length
-            self.tableView.contentInset.top = correctOffset
-            self.tableView.scrollIndicatorInsets.top = correctOffset
+            tableView.contentInset.top = correctOffset
+            tableView.scrollIndicatorInsets.top = correctOffset
         }
     }
 
     override open func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
 
-        self.mapItems = []
+        mapItems = []
     }
 
     // MARK: UITableViewDataSource


    open var mapItems: [MKMapItem] = [] {
        didSet {
            if self.debug { print("Reloading with \(self.mapItems.count) items") }
            self.tableView.reloadData()
        }
    }


        super.viewDidLoad()

        if #available(iOS 10.0, *) {
            automaticallyAdjustsScrollViewInsets = false
        }

        tableView.register(
            SearchResultsViewCell.self, forCellReuseIdentifier: SearchResultsViewCell.reuseIdentifier
        )
        tableView.register(
            UINib(nibName: "SearchResultsViewCell", bundle: MapViewController.bundle),
            forCellReuseIdentifier: SearchResultsViewCell.reuseIdentifier
        )
