Added support for transactions (single level).