def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def __init__(self, optional=False, choices=None):
        self._required = not optional
        self._choices = choices