remove duplicate methods from Generator 

Just remove duplicate methods