Made scopes use const counted_t<const datum_t> pointers instead of non-const pointers to counted_t<const datum_t>.