Improve extraction of touchedSymbols