The "magic" parameter should be a perl SV. For some reason it still works, but it makes `07-remote.t` segafault. `ref` should really be `reference` and `delete()`/`append()` should be updated accordingly.