public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        $this->inspector = new Inspector($this);
        foreach ($data as $key => $value) {
            $this->$key = $value;
        }
        return $this;
    }