Remove unused code, rename DefaultMaterial to Material.