Add account reference to transactions.