Get python bindings sorted out