Minor changes.
Tx API refactorying.