A histone-fold complex and FANCM form a conserved DNA-remodeling complex to maintain genome stability.