New, backwards-compatible NanInitPersistent. Work in progress.