protected function setLabels(&$properties)
    {
        $label = $properties['name'];

        if (Helpers::isKeyExists($properties, 'labels')) {
            $label = $properties['labels'];
        }

        $properties['labels'] = $this->getLabels($label, $properties['name']);

        return $this;
    }