Minor update to Python porting.