It's very useful to make objects returned by ScriptServices safe, but it's currently internal, so not usable by contrib extensions.