Cleanup the utilities functions in tuned.