Tokens::fromCode - fix using cache

Can we change every class to have the author information at class level then.