Introduce window.activate method.