DomainStruct class.