Adding ref to load_labeled_intervals and fixing input_output -> io