Remove window declaration