Fixing references to old function name