Fix tiny Python errors.