public function read($index) { throw new Exception("Unexpected serialize tag '" . Tags::TagRef . "' in stream"); }