Add p5_sv_reftype method. May be useful for debugging.