More details on cancellation API design.