Adds contract.