public function setSlug($slug)
    {
        if(empty($this->fields['Slug']) || empty($this->fields['OriginalSlug']))
        {
            $this->fields['NodeRef'] = new NodeRef($this->getNodeRef()->getElement(), $slug);
        }

        $this->fields['Slug'] = $slug;
    }