Enhance seed code of Lua.