introduce a cache in GenericImpl constructor from a Vertex