Add support for cancelling operations and adding feedback.