Fix affilinet import.