Added a functional wrapper for the binding.