Add line items and some other features.