Modify template to initialize property setters functions

Change-Id: Ie1af6c0767d0fa3552975f1943b3adb3e4a1d445