Implemented more command line functions.