Added ModuleKey.from(Class) for getting the module key from loaded class.