Remove dead code from market.