Pathogenic bacteria gain resistance to antibiotics due to changes in their: