wrap_init: Avoid deprecation warnings.