Updated to support adding tracks.