asVertices and asEdges now castToVertices and castToEdges