[#1013][Kashish]Removing unused code from generator activity.