public function __sleep()
{
$exprops = array();
$cn = __CLASS__;
if (!count($this->_tree)) {
$exprops[] = "{$cn}_tree";
}
if (!count($this->_entries)) {
$exprops[] = "{$cn}_entries";
}
if (!count($this->_list)) {
$exprops[] = "{$cn}_list";
}
return array_diff(parent::__sleep(), $exprops);
}