Added documentation for transactions