JavaBeans updated to implement Serialization