rt: Simplify the getting of TypeInfo list