def METHOD_NAME(self, name, attrs, content, ttFont):
    if name == "GMAPs":
        if not hasattr(self, "GMAPs"):
            self.GMAPs = []
        for element in content:
            if isinstance(element, str):
                continue
            itemName, itemAttrs, itemContent = element
            if itemName == "hexdata":
                self.GMAPs.append(readHex(itemContent))
    elif name == "glyphlets":
        if not hasattr(self, "glyphlets"):
            self.glyphlets = []
        for element in content:
            if isinstance(element, str):
                continue
            itemName, itemAttrs, itemContent = element
            if itemName == "hexdata":
                self.glyphlets.append(readHex(itemContent))
    else:
        setattr(self, name, safeEval(attrs["value"]))