Allow named function in Function.reviver