Initial work on deserialization.