You should also update the docstring to mention the `tag` attr. See https://github.com/gem/oq-nrmllib/blob/42a9f00585c70d2a500f5260493a44d5e755cf34/openquake/nrmllib/hazard/writers.py#L386.