Added callbacks to transaction