Added helpers to work with ProcessingMessages; updated validate method