Adjusted example to show the new getter/setter style

Change-Id: Ibe3385d5b728ec10d4265013d2041895936285e7