Changed the project from a category to abstract subclass of NSManagedObject