Use unique_ptr to manage TypePromotionActions owned by TypePromotionTransaction.