Preliminary support for wrapping methods in the lua script plugin.