Well, IIRC, it was we (me and @borysiasty ) wanted to separated unit for earthquake one for raster only and the other for vector with `depth` as default attribute.
After I checked again, it seems that we can drop this unit, and add default attribute for the `unit_mmi` so that it can be used for vector layer. I choose `mmi` as the default attribute based on the impact function's code.