Added an interface for messages for serialization-aware components