A signed agreement is a signature on a piece of paper and is a powerful legal piece between two parties.
The main change is the countries the immigrants were coming from. The immigrants in 1840s were coming from the Western Europe mainly Ireland and Germany. Immigrants from Asia and Eastern Europe were coming a bit later while during the beginning of the 20th century most of the immigrants came from Italy.
I'm pretty sure that this is true