This is actually only needed for `native`. It won't hurt to have it on other platforms, though.