Clean Window class.