Remove unused command line interface messages and instances in the main