RNA primer removal from Okazaki fragments during lagging-strand replication and the excision of damaged DNA bases requires the action of structure-specific nucleases, such as the mammalian flap endonuclease 1 (FEN-1).