Local anesthetics and divalent cations have the same effect on the headgroups of phosphatidylcholine and phosphatidylethanolamine.