Remove unneeded util function.