remove duplicate methods from Generator 

Just removed duplicate methods