Support different barcode types