Temporarily caching resolved classes in the trace (for existing code in the IDE to be happy)