Quick pass on material code.