Better AR docs related to transactions handling.

A bit better and cleaner way of handling transactions.