Run shorten_stl_types (and a bit more) only if needed in scope tracker