Working on NSManagedObject methods.