(by which I mean this function is likely to be deprecated)