Do palette definition after emitting header section