Bug fix for old function reference.