This function makes me unhappy, but I guess there is nothing to be done (since the RFC requires something like this).