def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def exitMode(self, mode):
        if mode in self.modeList:
            self.modeList.remove(mode)