We use it in other places, I grabbed that code from the apache module.