Added support for IntPtr over settings interface.