Making a couple of objects Serializable for convenience.