move method for tune_args() from tune to here
#571
Merged
tune_args() from tune to here
#571