Rewrite Vertex class. Vertex attributes are now specified at runtime.