Fix ldb python bindings after events changes.