Set Queue and Node as Serializable objects