+1

I am not a fan of the braces on a separate line though.  Is the purpose of that so you can comment out a line without having to move the braces?  Editors can handle that automatically. 

```py
nav.add_branch(
    'automate_explorer',
        {'automate_explorer_add_ns': lambda ctx: nav_add_namespace(ctx['namespace'].path),
         'automate_explorer_edit_ns': lambda ctx: nav_edit_namespace(ctx['namespace'].path),
         'namespace': lambda ctx: nav_new_class(ctx['namespace'].path),
         'class': lambda ctx: nav_edit_namespace(ctx['class'].path)})
```