Adding the auto implmentation of the elementType and Material.