Remove a global function.