Penicillin and other beta-lactam antibiotics work by inhibiting the final step of bacterial cell wall synthesis (transpeptidation or cross-linkage). This exposes the cell membrane which is structurally less stable. They inactivate bacterial enzymes called penicillin-binding proteins that are involved in cell wall synthesis and maintenance of cell morphology. Cephalosporins have a similar mechanism of action, inhibiting cell wall synthesis and activating autolysin enzymes. Carbapenems have broad-spectrum activity and are resistant to beta-lactamases. Vancomycin inhibits cell wall synthesis by binding to the D-alanyl-D-alanine portion of peptidoglycan precursors.