Adds Material serialization for configuration.