Fix unused function warning.