Code

store: Handle locking correctly when storing attributes.