Safety first

No need to expose all these functions to unsafeWindow.