Adding method `cancel`