Add importer cancellation API.