Removing dead code from orders.py through ws.py