Finally getting rid of this bad mistake of using IX for this.
Common code used by more than one app, but not by the kernel.