Tokens::fromCode - fix using cache