Since _ClassInfo is already using a factory constructor, why not implement the cache in _ClassInfo instead?