def rename(self, **kwargs):
        '''Rename series in the group.'''
        for old, new in kwargs.iteritems():
            if old in self.groups:
                self.groups[new] = self.groups[old]
                del self.groups[old]