Got rid of 10.9-only NSData method.