The window no longer behaves like an element, and it sets an entire ParentHooks struct instead of individual callbacks.