Other purposes of the Great Wall have included border controls , allowing the imposition of duties on goods transported along the Silk Road , regulation or encouragement of trade and the control of immigration and emigration .