A direct interaction between the RAG2 C terminus and the core histones is required for efficient V(D)J recombination.