Two Ways to Evolve from Parasite to Contributor