Adds transaction recording.