def remove_flag(self, flag):
        """
        Remove flag to the flags and memorize this attribute has changed so we
        can regenerate it when outputting text.
        """
        super(Entry, self).remove_flag(flag)
        self._changed_attrs.add('flags')
Remove flag to the flags and memorize this attribute has changed so we
        can regenerate it when outputting text.