Attaches a non-enumerable `extend` function to `Function.prototype`.