Refactored BD.Store#commitTransactionBulk to send type as argument.