Now writes the first component type header correctely