remove dependency on spl::safe_ptr from jin