Optimal codon choice can improve the efficiency and fidelity of N-methyl amino acid incorporation into peptides by in-vitro translation.