NSCoding implementations in all entity classes.