Use TransRecord::addRecord instead of calling TransRecord::addItem
directly. The keyed array argument makes it easier to see what is
actually being added.