Enable converting ScopedPersistent.