Templatize CodePtr/Refs/FunctionPtrs with PtrTags.