Simplify and adapt Python bindings.

3 jobs for develop