Added affiliate macros