private function writeLabels()
    {
        $this->beginBatch();

        foreach($this->nodeEntities as $node)
        {
            $meta = $this->getMeta($node);

            //Add the class name as a label
            $label = $this->client->makeLabel($meta->getName());
            $this->everymanNodeCache[$this->getHash($node)]->addLabels(array($label));

        }

        $this->commitBatch();
    }