Improved the vertex/edge creation classes.