The Chemistry of Imperfect Crystals