-- add deserialize methods.