Rewrote SerializationAware interface to match Axon