Defects in materials