Updated to .NET 4.0