'Add sequence to list of sequences including the message.'

def add_sequence(self, sequence):

    if isinstance(sequence, str):
        if (not (sequence in self._sequences)):
            self._sequences.append(sequence)
    else:
        raise TypeError(('sequence    must    be    a    string:    %s' % type(sequence)))
