Added the 'Serializable' interface to the generated Java classes.