public function __sleep() { throw new Nette\NotImplementedException('Object serialization is not supported by class ' . get_class($this)); }