using Element instead of Vertex for gremlin func wrapper