Remove persist_cost which is replaced with update_amounts.