Add name generation callback