Extentions to the window