public function __set_state($data) { $build = new self($this->version); $build->import($data); return $build; }