def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def _get_item_position(self, item):
    return self._items.index(item)