These were removed and replaced with normal methods on window and a standalone function to get the global window.