Qual: Add unique keys constraints on barcode.
Fix: Some debugs of module categories