Changed NSNumber to NSValue.