Load wrapper commands as a Lua module, free wrapped objects properly
Clear vars entries table from registry correctly
Create wrappers as userdata

mt_gc can run without errors after the wrapper has been freed