Add comments for `generateAttributeEdits`