add __self__ property to Window