GetMaterials function added.