Return id instead of NSManagedObject to avoid having to cast.