Conserved central domains control the quaternary structure of type I and type II Hsp40 molecular chaperones.