adds helper-function addPillLabels to the prototype