public function __wakeup() { self::__construct($this->id, null, Database::getByDSN($this->__database->getDSN())); }