Reduce requirements from .NET 4.5 to .NET 4.0 and also remove unnecessary dependencies.