Add log, fix binding.