Add function attribute to add options to setAffiliation