Move the automatic_scaling flag into ReducedFunctional.