public function toRoot() { $this->elements = array($this->root); return $this; // return $this->newInstance(array($this->root)); }