Removed extra lock.