API: - replace object/structure set/get macros with actual functions.