Rename view to slice.

Addresses issue #3869.