Add support for dynamically created and destroyed mutexes. This will