Fix small bugs for release to pypi.