Fixed false positive "unused function" #5113.