More typed object compatibility fixes.
Introduce __IsRuntimeInternalType__ for types that are pure-JS runtime internals