public function __cast($type)
 {
     return $this->__client->cast($this, $type);
 }