Rename serialize and deserialize methods