The colonial categorisation of African peoples into distinct groups such as Bantu, Nilotes, Khoi and other artificial classifications was a deliberate and harmful process .