Using an enum for Lua types.