Adds the head part of the example of PigProgressNotificationListener