Adding ni support to automatically register namespaces and assemblies.