Extensions for .Net 4