Let's either use `inreplace` or work out a way of getting this in an upstreamable form.