Add extra handlers to barcode.py