[PM] Pull the two helpers for this pass into static functions. There are