Documented the Contract class.