converted windows_element_class to a struct.