Window wrapper class