more LuaGlueType refactoring.