Conversion for .NET Framework 4.0