Add CommitInfo and return it from transactions