Refactored the Follow name list generation code.