Prevent concurrent modification.