The roles are going away due in part mass layoffs as companies find ways to cut costs.