Maybe we should add a HeaderExtractor or HeaderMapper (maybe also for a Footer?). Not sure yet how to do that, maybe for another version?