LuaUtils adapted for Delphi XE3