Silver Chloride for Smart Materials