Make message data handling a bit more generic.
Standardize message function names.
Reorder data functions.
Verify integrity checks on encrypted data packets.