         get { return self.closuresWrapper.runJavaScriptTextInputPanelWithPrompt }
     }
 
-    /// Allows your app to determine whether or not the given element should show a preview.
-    public var shouldPreviewElement: LKShouldPreviewElement? {
-        set { self.closuresWrapper.shouldPreviewElement = newValue }
-        get { return self.closuresWrapper.shouldPreviewElement }
-    }
-
-    /// Allows your app to provide a custom view controller to show when the given element is peeked.
-    public var previewingViewControllerForElement: LKPreviewingViewControllerForElement? {
-        set { self.closuresWrapper.previewingViewControllerForElement = newValue }
-        get { return self.closuresWrapper.previewingViewControllerForElement }
-    }
-
     /// Allows your app to pop to the view controller it created.
     public var commitPreviewingViewController: LKCommitPreviewingViewController? {
         set { self.closuresWrapper.commitPreviewingViewController = newValue }

        } else {
            completionHandler(nil)
        }
    }

    public func webView(_ webView: WKWebView, shouldPreviewElement elementInfo: WKPreviewElementInfo) -> Bool
    {
        return self.shouldPreviewElement?(webView, elementInfo) ?? true
    }

    public func webView(_ webView: WKWebView,
                        previewingViewControllerForElement elementInfo: WKPreviewElementInfo,
                        defaultActions previewActions: [WKPreviewActionItem]) -> UIViewController?
    {
        return self.previewingViewControllerForElement?(webView, elementInfo, previewActions)
    }

    public func webView(_ webView: WKWebView,

    var runJavaScriptAlertPanelWithMessage: LKRunJavaScriptAlertPanelWithMessage?
    var runJavaScriptConfirmPanelWithMessage: LKRunJavaScriptConfirmPanelWithMessage?
    var runJavaScriptTextInputPanelWithPrompt: LKRunJavaScriptTextInputPanelWithPrompt?
    var commitPreviewingViewController: LKCommitPreviewingViewController?
}
