Apprenticeship and journeymen contracts, 1820s