Add dict_slice and split_index methods.