Added new SafeNativeMethods.cs