Fix for incorrect treatment of every callable as a closure.

Also using version_compare to determine binding.