Simplified implementation of Vertex class.