Removes the references to NuGet packages.
Removes unused code.