Unfortunatelly there's no `writeAttribute()` so subclassing it'll have to be (to keep SOC in tests)