Add capability to read table flag fields from Lua API