Moved LuaType get implementation outside struct.