Fix up lazy-requires and dynamic-requires in TR.