Changed functions in Serialize