Adds transaction support