New API for sending arrays of data items.