Adds after_save and after_destroy hooks on LineItem model.