Fix unused code reporting.