Added output_labels class to store labels after interruptions.