These two lines could be replaced now by `label_binarize`.