A contract is used for defining obligations.