Add main() to COMR.