Added object deserialization.