def METHOD_NAME(
    self, pt, segmentType=None, smooth=False, name=None, identifier=None, **kwargs
):
    if identifier is not None:
        kwargs["identifier"] = identifier
    self.value.append(("addPoint", (pt, segmentType, smooth, name), kwargs))