Changed to mutex.