It has a lot of overlap with `create_header_from_parent`, maybe we can drop it altogether to get rid of some duplicate logic.