This idea is very much different from the design of how mod works currently though. However, deploying mod as spk would greatly reduce the complexity of how to use it, e.g. trust mod, trust author, trust certificate, code signing, certificate cost...