Updated to .Net 4.0