I will admit that adding this function to the library API was a bad idea, but that's a decision we are stuck with through the decades since we don't break the ABI