Implemented effects in Lua.