AbstractMessage class now implements \Serializable interface