Merge redundant util functions.