Add collate.py.