We've posted an update that includes the new property
ScriptEngine.DisableTypeRestriction
for controlling this behavior at the engine level.