removed case class 'Vertex', replaced with a type alias of the same name.