Transcript parser code cleanup