Replace mixture.remove_value(unobserved) with mixture.remove_unobserved_value()