Allowing global function replacements.