diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs
index e388e09c7..9aba8568a 100644
--- a/CefSharp/WebBrowserExtensions.cs
+++ b/CefSharp/WebBrowserExtensions.cs
@@ -4,6 +4,7 @@
using System;
using System.Collections.Specialized;
+using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Text;
@@ -30,6 +31,7 @@ namespace CefSharp
/// Browser is already initialized. RegisterJsObject must be +
/// called before the underlying CEF browser is created.
[Obsolete("This method has been removed, see https://github.com/cefsharp/CefSharp/issues/2990 for details on migrating your code.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public static void RegisterJsObject(this IWebBrowser webBrowser, string name, object objectToBind, BindingOptions options = null)
{
throw new NotImplementedException("This method has been removed, see https://github.com/cefsharp/CefSharp/issues/2990 for details on migrating your code.");
@@ -48,6 +50,7 @@ namespace CefSharp
/// The registered methods can only be called in an async way, they will all return immediately and the resulting
/// object will be a standard javascript Promise object which is usable to wait for completion or failure.
[Obsolete("This method has been removed, see https://github.com/cefsharp/CefSharp/issues/2990 for details on migrating your code.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public static void RegisterAsyncJsObject(this IWebBrowser webBrowser, string name, object objectToBind, BindingOptions options = null)
{
throw new NotImplementedException("This method has been removed, see https://github.com/cefsharp/CefSharp/issues/2990 for details on migrating your code.");