Added method to remove an element from the population.