Fix contract.