Added more class-based pipes and optimizers.