Added equality with slices.