Remove class SubWindowContext and its reference, use WindowContext instead.