It's used internally for inputs/outputs, but can probably be wrapped to work in a special way or raise error on those.
More serious issue is that it won't be serialized into savegames, as afaik any code objects can't be saved there.
So I think it'd need some special implementation with caveats and corner-cases, like setmetatable_str() where you actually give it a string of methods' code to save and restore separately between saves somehow.
Don't think I'll implement it, and feel like it might be too complicated of a feature for me to merge without testing, and I haven't played factorio in a while, so probably can't meaningfully do the latter, unfortunately.
But if you're up to it, maybe implement and make a fork of this mod, and I'll just link to it in the Info box as its successor with more features?
(esp. since not sure if I'll ever return to update this mod myself anyway, was thinking to just mark it as deprecated once expansion releases with likely-breaking changes)