Fix function reference issue.