Vertex class complete.