Reorganizing TextTrack code.