If you remove the __DT_CLONE_TARGETS__ decorator in these functions, does that solve the issue ?
__DT_CLONE_TARGETS__