Protelomerase uses a topoisomerase IB/Y-recombinase type mechanism to generate DNA hairpin ends.