Edited my previous reply but I’ll repost here, check this snippet from AttributeSet.h which explains what you need to do (which gpt seemingly also figured out in the end):