Why don't we have such a function in phobos?