Register kmod when loading from plugin