Add scheduler and pipeline back.