Updating Java & Python bindings