Fix usage detection in typedef.