Made everything serializable