Fixed the broken export of composite materials.