Created DomainVertex subclass of Vertex.