Maybe we should rename this to `generateAttributeEdits()` for consistency with `generateChildEdits()`.