      
      - parameter sender: The refresh control that wants the page to refresh.
      */
-    func refresh(sender: AnyObject) {
+    public func refresh() {
         loadURL(rootURL)
     }
 

        updateActivityIndicatorWithWebView(webView)
        updateProgressViewWithWebView(webView)
        if !loading {
            refreshControl?.endRefreshing()
            if let _ = webView.URL {
                hasLoadedContent = true
            }

    public func setupRefreshControl() {
        let newRefreshControl = UIRefreshControl()
        newRefreshControl.attributedTitle = NSAttributedString(string: "")
        newRefreshControl.addTarget(self, action: "refresh", forControlEvents: UIControlEvents.ValueChanged)
        webView.scrollView.insertSubview(newRefreshControl, atIndex: 0)
        refreshControl = newRefreshControl
    }
