Adding operation to get all labels.