def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def __iter__(self):
        for element in self._collection:
            yield self._to_python(element)