Add stageFactory