Deploy MarshalAs<T> more extensively
Introduce marshaling extension to IntPtr