Using the name 'region' rather than 'dims' to be consistent with min, max, sum,
etc.