Added bulk cancellation support.