Support generating headers across foreign keys.