// Add a lambda to ensure global 'this' capture is triggered (()=>this.window);