This wasn't properly remapping the type like with the other attributes, so this would end up hitting a verifier error after linking different modules using byref.