def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def bufferedMode(self, mode = True):
        if mode is None:
            self.flush()
        self._bufferedMode = mode