Might as well open this up as a separate PR if so, this could be useful outside of the native-friendly discussion