public function __sleep() { throw new LogicException('Registry objects should never be serialized.'); }