CORS enabling function name change

@bruce-alderson: The real one.