Removed test code from Window.