Partition original specs.
Add custom class for each header type.