Work in progress on Lua dispatch.