Updated class Contract.