Add messages to pif