Model entities made serializable.