Internal
Add an instance to the registry. Identified by a namespace (extension ID) and an ID (module path).
Retrieve a module from the registry by namespace and ID.
Add a function to run when object of id "id" is added (or overridden). If such an object is already registered, the handler will be applied immediately.
Add an instance to the registry. Identified by a namespace (extension ID) and an ID (module path).