Add method for creating transactions.