Can't this be obtained from the `NSManagedObjectModel` instead?