Update to include materials in inputs/outputs