Fix unused function.