Clobber var like device instead of window.