Make Analysis implement Serializable