def label_func(s, label=label):
                self.set_label(s, label)
def serialize(self, value, display=False):
        """Convert value back to string for saving."""
        if value is None:
            return ""
        return str(value)