Would this code work?

-snip-

resolved.

Looks like it will work. If you want to define the PLUGIN table outside of the file, define and call your plugin functions using ‘:’ instead of ‘.’. This way you won’t have to keep a reference to the table yourself if you want to access it.

-snip-

resolved.

As in only PLUGIN:Init, etc.