add global function binding.