Implementing 2 way binding.