Add deserialization.
Add deserialization of associations.