Add large section on pipeline optimisation.