Better lockAttributes messages