Macros converted to Lua.