Added better sync support for transactions