The window no longer behaves like an element, and it sets an entire ParentHooks struct instead of individual callbacks.
I have yet to actually update the code to reflect these changes. I will do this shortly.