Add new API methods for transactions.
Merge remote-tracking branch 'origin/master'