Changed supporting python functions to make them compliant with current C++ functions signature