diff --git a/src/Microsoft.AspNet.StaticFiles/DirectoryBrowserServiceExtensions.cs b/src/Microsoft.AspNet.StaticFiles/DirectoryBrowserServiceExtensions.cs
index bfd5cb9986..886207b57f 100644
--- a/src/Microsoft.AspNet.StaticFiles/DirectoryBrowserServiceExtensions.cs
+++ b/src/Microsoft.AspNet.StaticFiles/DirectoryBrowserServiceExtensions.cs
@@ -1,8 +1,8 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Internal;
+using Microsoft.AspNet.StaticFiles;
namespace Microsoft.Framework.DependencyInjection
{
@@ -17,17 +17,6 @@ namespace Microsoft.Framework.DependencyInjection
///
///
public static IServiceCollection AddDirectoryBrowser([NotNull] this IServiceCollection services)
- {
- return services.AddDirectoryBrowser(configuration: null);
- }
-
- ///
- /// Adds directory browser middleware services.
- ///
- ///
- ///
- ///
- public static IServiceCollection AddDirectoryBrowser([NotNull] this IServiceCollection services, IConfiguration configuration)
{
return services.AddWebEncoders();
}