Fix item_spec after adding #dom_attributes