Implemented domain property in DomainVertex class.