Adds support for command-line args.