ch23 NSManagedObject and subclasses