Adds required mutexes.