Use new transaction api.