A few other little things that came up while translating recent changes to Lua.