def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def get_config(self):
    config = super().get_config()
    config['masked_tokens'] = tuple(self._masked_tokens)
    return config