Changed locking.