Fix contracts in TR.