Move transaction support out of core DB support.