diff --git a/.vscode/launch.json b/.vscode/launch.json
index 3291fe9..13694a8 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
- "program": "${workspaceFolder}/SmallInjectorDemo/bin/Debug/netcoreapp2.2/SmallInjectorDemo.dll",
+ "program": "${workspaceFolder}/SmallInjectorDemo/bin/Debug/net7.0/SmallInjectorDemo.dll",
"args": [],
"cwd": "${workspaceFolder}/SmallInjectorDemo",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
diff --git a/SmallInjector/Container.cs b/SmallInjector/Container.cs
index 7f5205a..770f27a 100644
--- a/SmallInjector/Container.cs
+++ b/SmallInjector/Container.cs
@@ -1,7 +1,5 @@
using System;
-using System.Collections;
using System.Collections.Generic;
-using System.ComponentModel;
using System.Linq;
namespace SmallInjector
diff --git a/SmallInjector/ServiceLocatorWrapper.cs b/SmallInjector/ServiceLocatorWrapper.cs
deleted file mode 100644
index fb6b830..0000000
--- a/SmallInjector/ServiceLocatorWrapper.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace SmallInjector
-{
- ///
- /// Wrapper for Service Locator
- ///
- public class ServiceLocatorWrapper : CommonServiceLocator.ServiceLocatorImplBase
- {
- private readonly IContainer _container;
-
- ///
- /// Creates new instance
- ///
- public ServiceLocatorWrapper(IContainer container)
- {
- _container = container;
- }
-
- ///
- protected override object DoGetInstance(Type serviceType, string key) => _container.Resolve(serviceType);
-
- ///
- protected override IEnumerable