Added nuget package restore and removed an unused line of code.