Fixed return types with pointers and expanded marshal support for registered types.