Add affiliate templates for version 4.0