Thanks, Dan, but you'll get warnings comparing param to [NSNull null] without a cast. TJ and I updated the proposed method.