Added observer for 2-way binding