Protection for null parameter?