DNA polymerase beta belongs to an ancient nucleotidyltransferase superfamily.