Add do_shutdown and simple do_history.