[APM] SH: Convert to use shared APM emulation.