There is not need to use SafeFunction because define_native_function or define_native_accessor will pass callback forward to NativeFunction that uses HeapFunction to visit it.
final