Made status classes serializable