Added toStream method to EquaSets.