use `model.unsetAttrs` in static attr generation