We sometimes use the `.dtype` property within dask.array which can sometimes trigger computation. We should use `._dtype` instead.