Remove unused functions in trade_offers