Fixed errors in binding.