Remove unused code.
Support command line arg list.