Use Type::equals instead of pointer comparison
Strip symbol from a function type before putting it into stringtable