Drop debug code from internal lua.