Support events in the TorchAPI Static registry, non-static registration methods. Support unregister by assembly.