Register DataStorage as a Serializable class.