PDMessage protocol and PDGeneratedMessage interface, fixed #2.