def METHOD_NAME(self, f):
    for key in _sequence:
        if key == 'MODEL ' and self.singlemodel():
            f.METHOD_NAME(str(self.records['_model']))
        else:
            for record in self.records[key]:
                f.METHOD_NAME(str(record))