Some extension functions manipulate window