newEntity moved to RHManagedObject+legacy.h