Fix contract breakage in TR.