Added type attribute for line items.