What a crude, crude, crude way to do it, but it's the only one that works.
Merged in JSIInternalUtils.