Who were the individuals who worked in colonies for a period of time before gaining their freedom?