Primary key can be serializable structure.