reduce warnings+ get/set generator macro.