Correctly depend on $window exposed by Esquire.