EventClass added window object.