DeSerialization

More work on deserialization.