Add NSError based version