Added get/set obj attribute functions.