Basic serialization and association building.