Checking in the original functions.cs code from vmware-net.