Removed old mutex code