Added a Window class.