Reformat register_label()