We study unfrustrated spin Hamiltonians that consist of commuting tensor products of Pauli matrices. Assuming translation-invariance, we observe that the Hamiltonian is described by a map between modules over the translation group algebra, so homological methods are applicable. We show universal properties of topologically ordered phases in low spatial dimensions. Particularly, we prove that in...