cleanup of ProcessorGenerator class.