Added fix for missing overload in .NET 4.0