Add a multi-type version of iterateSymbolsWithType