Added Serializable and renamed Dirty to IsDirty