Please also handle `DS_TYPE_DERIVE` and `DS_TYPE_ABSOLUTE`.