Added lock.