Change usage of IntPtr on non signatures methods