Allow UrlWindow to be injected.