Support for regriding to scalars.