For sanity / clarity, moving all loc-specific functions into a different include.