made objects, commands, and responses serializable