Clean up rcv.py.