For object pointers, please keep in mind to use REF/UNREF in pairs, otherwise there will be mem-leaks.