code improvements for BeanTransactions class