Thread-safe collision group functions

As a developer, it’s hard to work with collision groups in a parallel context since all the relevant functions in PhysicsService aren’t thread-safe. I want to be able to just call these functions without any additional work.