Use map to cache resolved symbols.