Fix unused function warnings.