Update code to use new PubSubHeader factory methods