Added base class for transactions