Extract some params to outer config