Dataset transformations for headers.
Refactoring transformation of headers.
Writing tests for header transformations.