Allow overwriting material attributes.