Added choose_by_label method.