Create a print_labels method that calls get_labels.