Removing duplicate labels.