Temporarily remove broken stuff again
Make GetServiceProcessType a global function