doc api updates for Window