RNA primers are removed by the enzyme DNA polymerase I. The nicks that remain after the primers are replaced are sealed by enzyme DNA ligase. DNA fragments replace the RNA primers.