Replace optparse with argparse.
Merge branch 'release/v1.0.0'