Add GetVertices method