diff --git a/src/Microsoft.AspNetCore/WebHost.cs b/src/Microsoft.AspNetCore/WebHost.cs
index 5833404e30..9b576a70fa 100644
--- a/src/Microsoft.AspNetCore/WebHost.cs
+++ b/src/Microsoft.AspNetCore/WebHost.cs
@@ -8,11 +8,9 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
-using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
-using Microsoft.Extensions.Options;
namespace Microsoft.AspNetCore
{
@@ -124,8 +122,7 @@ namespace Microsoft.AspNetCore
/// load from environment variables,
/// configures the to log to the console and debug output,
/// enables IIS integration,
- /// enables the ability for frameworks to bind their options to their default configuration sections,
- /// and adds the developer exception page when is 'Development'
+ /// and enables the ability for frameworks to bind their options to their default configuration sections.
///
/// The initialized .
public static IWebHostBuilder CreateDefaultBuilder() =>
@@ -144,8 +141,7 @@ namespace Microsoft.AspNetCore
/// load from supplied command line args,
/// configures the to log to the console and debug output,
/// enables IIS integration,
- /// enables the ability for frameworks to bind their options to their default configuration sections,
- /// and adds the developer exception page when is 'Development'
+ /// and enables the ability for frameworks to bind their options to their default configuration sections.
///
/// The command line args.
/// The initialized .