Merge "Specify pointer id when creating outside targets" into main