I don't think that it is beyond the realm of possibility that CASTs are constructed out of some kind of metal or contain nano-machines that are reactive to Photons, thus allowing for even the inorganic parts to repair to some degree.