Add applyLabels, removeLabels, removeLabel functions