Amend chan_link.py.