Improved transaction handling.
Improved transaction handling.