From Slavery to the Cooperative Commonwealth: Labor and Republican Liberty in the Nineteenth Century