Any reason you've changed this to `window`?