Add two (SV *) casts to placate C++.