Refactoring the methods of FeatureGenerator subclasses