You can define the lease of the object by implementing the ILease interface at the code time.